package com.exam.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;

/**
 * select_course
 *
 * @author
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class SelectCourse implements Serializable {
    /**
     * ID
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 学号
     */
    private String studentId;


    /**
     * 姓名
     */
    @TableField(exist = false)
    private String studentName;

    /**
     * 课程ID
     */
    private String courseId;

    /**
     * 课程名称
     */
    @TableField(exist = false)
    private String courseName;

//    /**
//     * 课程学分
//     */
//    private Double score;

    private static final long serialVersionUID = 1L;
}